//-----------------------------------------------------------------------
// <copyright file="PersonAddress.cs" company="Procure Development">
//     Copyright (c) Procure Development. All rights reserved.
// </copyright>
// <author>Victor Procure</author>
//-----------------------------------------------------------------------

using MongoDB.Bson;using MongoDB.Bson.Serialization.Attributes;

namespace SManagement.Models{
    /// <summary>
    /// An address (e.g. physical or mailing) for a person.
    /// </summary>
    public class PersonAddress
    {
        #region Instance Properties
        [BsonId]
        public ObjectId _id { get; set; }

        public ObjectId PersonId { get; set; }

        public ObjectId RefPersonLocationTypeId { get; set; }

        public string StreetNumberAndName { get; set; }

        public string ApartmentRoomOrSuiteNumber { get; set; }

        public string City { get; set; }

        public ObjectId? RefStateId { get; set; }

        public string PostalCode { get; set; }

        public string AddressCountyName { get; set; }

        public ObjectId? RefCountyId { get; set; }

        public ObjectId? RefCountryId { get; set; }

        public string Latitude { get; set; }

        public string Longitude { get; set; }

        public ObjectId? RefPersonalInformationVerificationId { get; set; }

        #endregion Instance Properties}}